<template>
  <div>
    <Container class="u-mb15">
      <!-- 筛选 -->
      <el-form ref="pageForm">
        <ContainerTitle> 账号授权方法</ContainerTitle>
        <el-form-item>
          <h3>一、人工授权链接</h3>
          <div style="width: 800px">
            【头条旧代理】
            <div style="word-break: break-word">
              https://ad.oceanengine.com/openapi/audit/oauth.html?app_id=1645089301050381&state=your_custom_params&scope=%5B1%2C2%2C3%2C4%2C5%5D&redirect_uri=http%3A%2F%2Fapi.kyhddsp.com%2Fcpa%2Fapi%2Fmarketing%2Fcallback%2Ftoutiao
            </div>
          </div>
        </el-form-item>
        <el-form-item>
          <div style="width: 800px">
            【头条新代理】
            <div style="word-break: break-word">
              https://ad.oceanengine.com/openapi/audit/oauth.html?app_id=1677447795205159&state=your_custom_params&scope=%5B1%2C2%2C3%2C4%2C5%2C8%2C9%5D&material_auth=1&redirect_uri=http%3A%2F%2Fapi.kyhddsp.com%2Fcpa%2Fapi%2Fmarketing%2Fcallback%2Ftoutiao2&rid=5e8507j56xc
            </div>
          </div>
        </el-form-item>
        <el-form-item>
          <div style="width: 800px">
            【快手】
            <div style="word-break: break-word">
              https://ad.e.kuaishou.com/openapi/oauth?app_id=87&scope=[%22report_service%22,%22ad_manage%22,%22account_service%22,%22ad_query%22]&redirect_uri=http://api.kyhddsp.com/cpa/api/marketing/callback/kuaishou&state=abcd
            </div>
            <!-- <el-button type="primary" @click="go('https://ad.e.kuaishou.com/#/openapi/oauth?app_id=87&scope=%5B%22report_service%22%2C%22ad_manage%22%2C%22account_service%22%2C%22ad_query%22%5D&redirect_uri=http://api.kyhddsp.com/cpa/api/marketing/callback/kuaishou&state=abcd')">跳转</el-button> -->
          </div>
        </el-form-item>

        <el-form-item>
           <h3>二、授权流程</h3>
          <div style="width: 800px">
            <div style="word-break: break-word">
              首先登陆相应的账号 → 然后在浏览器中执行【人工授权链接】
              →点击确认后即可 授权有效期为30天，在即将过期时，请人工重新授权。
            </div>
            <div style="word-break: break-word">
              【注意】<br />
              ① 头条只需给总代理商账号授权即可。<br />
              ②快手需要分别给各个账户做授权，可登陆总账户，然后进入投放账户后授权。<br />
              ③ 如果在授权过期后，再授权。
            </div>
          </div>
        </el-form-item>
      </el-form>
    </Container>
    <Affix :offset-bottom="0">
      <ButtonGroup isFixed align="right">
        <el-button size="small" @click="$router.back()">返回</el-button>
      </ButtonGroup>
    </Affix>
  </div>
</template>
  <script>
import ContainerTitle from "@/components/container-title";
import Container from "@/components/container";
import Affix from "@/components/affix";
import ButtonGroup from "@/components/button-group";
export default {
  components: {
    ContainerTitle,
    Container,
    Affix,
    ButtonGroup,
  },
  methods:{
    
  }
};
</script>
